package org.kymjs.contacts;

import ohos.aafwk.ability.delegation.AbilityDelegatorRegistry;
import org.junit.Test;

import static org.junit.Assert.assertEquals;

public class ExampleOhosTest {
    @Test
    public void testBundleName() {
        final String actualBundleName = AbilityDelegatorRegistry.getArguments().getTestBundleName();
        assertEquals("org.kymjs.contacts", actualBundleName);
    }

    @Test
    public void testHanziToPinyin() {
        assertEquals("zhangsan",HanziToPinyin.getPinYin("张三"));
    }
}